package com.gitee.magic.core.valid;

import com.gitee.magic.core.valid.annotation.Custom;

/**
 * 验证基接口
 * @author zhenyao
 *
 */
public interface ValidCheckCustom {

	/**
	 * 参数设置
	 * @param paramName
	 */
	default void setParamName(Custom custom,String paramName) {
		
	}

	/**
	 * 检测方法
	 * @param value
	 * @return
	 */
	boolean check(Object value);
	
}
